﻿<?xml version="1.0"?>

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  <xsl:template match="/Devises">
    <head>
      <center>
        <font size="9" color="white">
          <xsl:apply-templates select="SystemName/Devise/SystemName" />
        </font>
      </center>
    </head>
    <BODY bgcolor="#AF2E3F">
      <BR></BR>
      <center>
        <font face="monospace" size="5" color="white">
          <b>Motherboard:</b>
        </font>
      </center>
      <div align="center">
        <xsl:apply-templates select="Motherboard/Devise" />
      </div>
      <BR></BR>
      <center>
        <font face="monospace" size="5" color="white">
          <b>Processor:</b>
        </font>
      </center>
      <div align="center">
        <xsl:apply-templates select="Processor/Devise" />
      </div>
      <BR></BR>
      <center>
        <font face="monospace" size="5" color="white">
          <b>VideoController:</b>
        </font>
      </center>
      <div  align="center">
        <xsl:apply-templates select="VideoController/Devise" />
      </div>
      <BR></BR>
      <center>
        <font face="monospace" size="5" color="white">
          <b>RAM:</b>
        </font>
      </center>
      <div  align="center">
        <xsl:apply-templates select="RAM/Devise" />
      </div>
      <BR></BR>
      <center>
        <font face="monospace" size="5" color="white">
          <b>Drive:</b>
        </font>
      </center>
      <div align="center">
        <xsl:apply-templates select="Drive/Devise" />
      </div>
      <BR></BR>
      <center>
        <font face="monospace" size="5" color="white">
          <b>Monitor:</b>
        </font>
      </center>
      <div align="center">
        <xsl:apply-templates select="Monitor/Devise" />
      </div>
      <BR></BR>
      <center>
        <font face="monospace" size="5" color="white">
          <b>Sound Devise:</b>
        </font>
      </center>
      <div align="center">
        <xsl:apply-templates select="SoundDevise/Devise" />
      </div>
      <BR></BR>
      <center>
        <font face="monospace" size="5" color="white">
          <b>Floppy Drive:</b>
        </font>
      </center>
      <div align="center">
        <xsl:apply-templates select="DloppyDrive/Devise" />
      </div>
      <BR></BR>
      <center>
        <font face="monospace" size="5" color="white">
          <b>CD-ROM:</b>
        </font>
      </center>
      <div align="center">
        <xsl:apply-templates select="CD-ROM/Devise" />
      </div>
      <BR></BR>
      <center>
        <font face="monospace" size="5" color="white">
          <b>Keyboard:</b>
        </font>
      </center>
      <div align="center">
        <xsl:apply-templates select="Keyboard/Devise" />
      </div>
      <BR></BR>
      <center>
        <font face="monospace" size="5" color="white">
          <b>Mouse:</b>
        </font>
      </center>
      <div align="center">
        <xsl:apply-templates select="Mouse/Devise" />
      </div>
      <BR></BR>
    </BODY>
  </xsl:template>

  <xsl:template match="Mouse/Devise">
    <div>
      <xsl:apply-templates select="Name" />
    </div>
  </xsl:template>
  <xsl:template match="FloppyDrive/Devise">
    <div>
      <xsl:apply-templates select="Name" />
    </div>
  </xsl:template>
  <xsl:template match="CD-ROM/Devise">
    <div>
      <xsl:apply-templates select="Name" />
    </div>
  </xsl:template>
  <xsl:template match="SoundDevise/Devise">
    <div>
      <xsl:apply-templates select="Name" />
    </div>
  </xsl:template>

  <xsl:template match="Keyboard/Devise">
    <div>
      <xsl:apply-templates select="Name" />
    </div>
  </xsl:template>

  <xsl:template match="RAM/Devise">
    <div>
      <xsl:apply-templates select="Name" />
      <xsl:apply-templates select="Capacity" />
    </div>
  </xsl:template>

  <xsl:template match="Drive/Devise">
    <div>
      <xsl:apply-templates select="Model" />
      <xsl:apply-templates select="Size" />
    </div>
  </xsl:template>

  <xsl:template match="Motherboard/Devise">
    <div>
      <xsl:apply-templates select="Manufacturer" />
      <xsl:apply-templates select="Model" />
    </div>
  </xsl:template>

  <xsl:template match="NetworkAdapter/Devise">
    <div>
      <xsl:apply-templates select="Name" />
      <xsl:apply-templates select="AdapterType" />
    </div>
  </xsl:template>

  <xsl:template match="VideoController/Devise">
    <div>
      <xsl:apply-templates select="Name" />
    </div>
  </xsl:template>

  <xsl:template match="Monitor/Devise">
    <div>
      <xsl:apply-templates select="Caption" />
      <xsl:apply-templates select="MonitorManufacturer" />
    </div>
  </xsl:template>

  <xsl:template match="Processor/Devise">
    <div>
      <xsl:apply-templates select="Manufacturer" />
      <xsl:apply-templates select="Name" />
      <xsl:apply-templates select="NumberOfCores" />
    </div>
  </xsl:template>

  <xsl:template match="Name">
    <div>
      <I>Name: </I>
      <xsl:apply-templates />
    </div>
  </xsl:template>

  <xsl:template match="Capacity">
    <div>
      <I>Size: </I> <xsl:apply-templates /> Mb
    </div>
  </xsl:template>

  <xsl:template match="NumberOfCores">
    <div>
      <I>NumberOfCores: </I>
      <xsl:apply-templates />
    </div>
  </xsl:template>

  <xsl:template match="AdapterType">
    <div>
      <I>AdapterType: </I>
      <xsl:apply-templates />
    </div>
  </xsl:template>

  <xsl:template match="Manufacturer">
    <div>
      <I>Manufacturer: </I>
      <xsl:apply-templates />
    </div>
  </xsl:template>

  <xsl:template match="Size">
    <div>
      <I>Size: </I> <xsl:apply-templates /> Mb
    </div>
  </xsl:template>

  <xsl:template match="Model">
    <div>
      <I>Model: </I>
      <xsl:apply-templates />
    </div>
  </xsl:template>

  <xsl:template match="MonitorManufacturer">
    <div>
      <I>Manufacturer: </I>
      <xsl:apply-templates />
    </div>
  </xsl:template>

  <xsl:template match="Caption">

    <div>
      <xsl:apply-templates />
    </div>
  </xsl:template>


</xsl:stylesheet>
